-
Notifications
You must be signed in to change notification settings - Fork 156
add nvhpc compiler flags to cmake #1743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| mosaic2/include | ||
| constants | ||
| astronomy/include | ||
| field_manager/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When building with nvhpc it could not find parse.inc which is here
rem1776
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting in these changes! I have some other cmake changes (#1694 ) that will be going in soon so this might need an update after that is merged but based on what im seeing it shouldn't be anything major.
Co-authored-by: Ryan Mulhall <35538242+rem1776@users.noreply.github.com>
Co-authored-by: Ryan Mulhall <35538242+rem1776@users.noreply.github.com>
|
We should push up the minimum cmake version - before cmake 3.20 there is no NVHPC compiler it goes back to the PGI one for which no flags are defined. Is there a reason to keep the cmake version minimum at 3.12? |
|
only these tests fail (with nvhpc 24.9) |
No I don't think so, feel free to bump it up if needed. |
|
@JorgeG94 Just following up, do you plan on updating these changes? We need support for nvhpc so I will get this up to date and merged if not. |
Hot damn I had completely forgotten about this! I will update these changes! @rem1776 I've merged in the changes and testing right now. Are there any other changes that I need to do? I think I addressed the initial oens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JorgeG94 No I think this all looks good, thanks for getting it updated. It'll just need the whitespace change I commented on so we can get all the CI checks passing.
Co-authored-by: Ryan Mulhall <35538242+rem1776@users.noreply.github.com>
|
nvhpc 25.9 and 25.5 fails with: I didn't see this back in August but I can't really remember what version of nvhpc I used! so I am trying all the ones I have. Is there a target version you have in mind? I've committed the whitespace change Update, it comes from #1778 will try to fix |
Description
Add the necessary flags to compile FMS with NVHPC using the CMake build system
Fixes # (issue)
How Has This Been Tested?
CMake does not have the unit tests connected to the build system but building using the autoconf mode with NVHPC fails most of the tests. Which I believe is known.
Checklist:
make distcheckpasses